[MUSIC]
Hello and welcome back to the next module of this course,
Introduction to input actions and methods. In the previous module, you understood
UI interactions and their types. By the end of this module you will
be able to understand different input actions in Studio. So let's get started, in the previous
lesson you learned about different input actions like clicks, text typing,
keyboard shortcuts, etc. In studio there are specific activities to
perform these actions on user interface. The activities are click,
type into and send hotkey. Let's first talk about the click activity. [MUSIC] It performs the action of clicking
on a specified UI element for example, a button, checkbox radio
button or a drop down arrow. This activity has certain properties to
customize the action performed by it. Let us look at some
properties of this activity. First click type, this property specifies
the type of mouse click action to be used when simulating the click event. The mouse click action can be
single click, double click, click up or click down. By default a single click is selected. Second mouse button this property
specifies the mouse button like the left, right or middle button used for
the click action. By default,
the left mouse button is selected. Next is time out, it specifies the amount
of time in milliseconds to wait for the activity to run before
an exception is thrown. The default time out value is 30,000
milliseconds which is equivalent to 30 seconds. Next, key modifiers, this property
enables the users to add a key modifier. The available options are Alt,
Control, Shift and Window key. Let's discuss the Type Into activity. [MUSIC]
Type Into activity sends keystrokes to a UI element, for example entering
text in an input box or a word file. This activity also has certain properties
to customize the action performed by it. Let's look at some
properties of this activity. First activate selecting this
option brings the specified UI element to the foreground and
activates it before typing the text. This is useful while the actions
are performed on multiple applications. Second is clicked before typing
on selecting this option the specified UI element is clicked
before the text is written. Next, delay between keys,
this property specifies the delay time in milliseconds between
consecutive keystrokes. The default value is 10 milliseconds, the
maximum value can be 1000 milliseconds. Next is empty field on
selecting this option, all existing content in the UI element
is erased before your text is typed in. Let's discuss the Send Hotkey activity. Send Hotkey activity sends
keyboard shortcuts to UI element, this activity also has certain properties
to customize the action performed by it. Let's look at some
properties of this activity. First activate, by selecting this option,
it will bring the specified UI element to the foreground and
activate it before writing. Second, click before typing
on selecting this checkbox the specified Ui element is clicked
before the text is written. Next delay between keys, this specifies the delay time in
milliseconds between two keystrokes. The default value is 10 milliseconds and
maximum value is 1000 milliseconds. Next is empty field on
selecting this option, all existing content in the UI element
is erased before writing the text. Please note that all the input
actions share some common properties which are first delay,
this property sets a delay before or after the click or
typing any text in an input field. The second is wait for ready on
selecting this property it waits for the target to be ready by
verifying certain application tag. In the next video you will get familiar
with the input methods available for the input activities and
that is all for this video. Thank you for watching.